<span class="title">注册 ——</span>
<a href="<?=$this->createUrl('user/login')?>" class="form_a">已有账号，直接登录>></a>
<span class="error_msg"><?=$msg?></span>
<div class="form">
    <form action="<?=$this->createUrl('user/doregister')?>" id="register-form" method="post">
        <input class="text" id="username" type="text" name="username" value="<?=$username?>" placeholder="用户名">
        <input class="text" type="password" name="password" placeholder="密码">
        <input class="button" type="submit" value="注册">
        <input class="button" type="reset" value="重置">
    </form>
</div>
